package com.heima.model.comment.dtos;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;
import jdk.internal.org.objectweb.asm.tree.MethodInsnNode;
import lombok.Data;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.Date;

@Api("评论DTO")
@Data
public class ApCommentDto {

    @TableId(value = "id", type = IdType.ID_WORKER)
    @ApiModelProperty(value = "被评论文章 作者 id")
    private Long articleId;

    @ApiModelProperty(value = "评论内容")
    @TableField("content")
    private String content;

    private Date minDate;//最早时间
}
